﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="CS07team01mainproject.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Main" runat="server">
    <asp:ListBox runat="server" ID="listbox1" DataSourceID="SqlDataSource1" 
    DataTextField="name" DataValueField="name" />
<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
    ConnectionString="<%$ ConnectionStrings:cs07team01dbConnectionString %>" 
    SelectCommand="SELECT [name] FROM [Category1] ORDER BY [id]">
</asp:SqlDataSource>
</asp:Content>

